﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MDesktop.aspx.cs" Inherits="MDesktop" %>
<!DOCTYPE html> 
<html> 
	<head id="Head1" runat="server"> 
        <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>欢迎</title> 
	    <link href="Content/MOrange/orange.min.css" rel="stylesheet" type="text/css" />  
	    <link href="Content/MOrange/jquery.mobile.icons.min.css" rel="stylesheet" type="text/css" />    
	    <link href="Content/MOrange/jquery.mobile.structure-1.4.1.min.css" rel="stylesheet" type="text/css" />
        <script src="Scripts/jquery.js" type="text/javascript"></script>
        <script src="Scripts/jquery.mobile-1.4.1.min.js" type="text/javascript"></script>
        <script type="text/javascript">$.mobile.ajaxEnabled = false;</script>
    </head> 
<body>     
    <!-- start page -->
    <div data-role="page">

	<!-- start header -->
	<div data-role="header" data-theme="a" >
	    <a href="#" data-icon="home">首页</a>
		<h1 runat="server" id="Mtitle"></h1>
		<a href="MobileLogin.aspx" data-icon="forward">退出</a>
	</div>
	<!-- end header -->

	<!-- start content -->
	<div data-role="content" data-theme="a">	
        <form id="form1" runat="server" action="MDesktop.aspx" method="post">
        <div  class="ui-body-d ui-content">
            <span style="color:Red"><asp:Literal runat="server" ID="msg"></asp:Literal></span>
            <asp:Repeater ID="MenuList" runat="server">
                            <HeaderTemplate>
                                <ul data-role="listview" data-inset="true">
                            </HeaderTemplate>
                           <ItemTemplate>
                                <li><a href='<%# Eval("page_url") %>'><h3><%# Eval("page_title")%></h3></a></li>
                           </ItemTemplate> 
                           <FooterTemplate>
                                </ul>
                           </FooterTemplate> 
                        </asp:Repeater>
        </div>
        </form>
	</div>
	<!-- end content -->

	<!-- start footer -->
	<div data-role="footer" data-theme="a" data-position="fixed">
		<h4 runat="server" id="MFoot"></h4>
	</div>
	<!-- end footer -->
	
    </div>
    <!-- end page -->    
</body>
</html>
